
part of 'sports_cubit.dart';


/// Events must be immutable and implement the [Equatable] interface.
@immutable
abstract class GymSportsEvent extends Equatable {}

/// Event that is dispatched when the Profile widget is first created.
class GymSportsInitialEvent extends GymSportsEvent {
  final Gym gym;

  GymSportsInitialEvent({required this.gym});
  @override
  List<Object?> get props => [];
}


/// Event that is dispatched when the User Profile is Null.
class GetGymSportsEvent extends GymSportsEvent {
  @override
  List<Object?> get props => [];
}

/// Event that is dispatched when the User Profile is Null.
class SelectModeEvent extends GymSportsEvent {
  final bool mode;
  final Sport? sport;
  SelectModeEvent({required this.mode,this.sport});
  @override
  List<Object?> get props => [mode];
}

/// Event that is dispatched when the User Profile is Null.
class AddSportToGymEvent extends GymSportsEvent {
  final Gym gym;
  final Sport sport;
  AddSportToGymEvent({required this.gym,required this.sport});
  @override
  List<Object?> get props => [sport,gym];
}

/// Event that is dispatched when the User Profile is Null.
class SelectSportEvent extends GymSportsEvent {
  final Sport sport;
  final bool isSelected;
  SelectSportEvent({required this.sport,required this.isSelected});
  @override
  List<Object?> get props => [];
}

/// Event that is dispatched when the User Profile is Null.
class UpdatePlayerStateEvent extends GymSportsEvent {
  final Sport? user;

  UpdatePlayerStateEvent({required this.user});
  @override
  List<Object?> get props => [];
}